/**     
* @Title: HttpSessionConfig.java   
* @Package me.springboot.session.config   
* @Description: TODO   
* @author xaoyaoyao
* @date 2017年9月3日 上午11:00:22
*/
package me.springboot.session.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.session.data.redis.config.ConfigureRedisAction;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

/**
 * @ClassName: HttpSessionConfig
 * @Description: TODO
 * @author xaoyaoyao
 * @date 2017年9月3日 上午11:00:22
 * 
 */
@Configuration
@EnableRedisHttpSession(maxInactiveIntervalInSeconds = 86400 * 30)
public class HttpSessionConfig {

	@Bean
	public static ConfigureRedisAction configureRedisAction() {
		return ConfigureRedisAction.NO_OP;
	}
}
